package com.so206.service;

import com.github.pagehelper.PageInfo;
import com.so206.po.SystemSett;
import com.so206.po.ext.SysSettExt;

import java.math.BigDecimal;
import java.util.List;

public interface SettLementService {

    Long saveSettLement(SystemSett sett);

    PageInfo<SysSettExt> findByPage(Integer page, Integer rows, Integer status, String sid, Integer type, Long uid);

    SystemSett find_sett_byId(Long id);

    SystemSett find_sett_by_uid(Long uid);

    void updateSystemSett(SystemSett sett);

    void deleteSystemSett(Long id);

    List<SystemSett> findsettByUid(Long uid);

    List<SystemSett> findAllSett(Integer status);

    List<SystemSett> findAllSett2(Integer sett);

    Integer settCountAll(Long uid, String timelike, String end_time);

    Integer settPayOkCount(Long uid, String timelike, String end_time);

    Integer settPayFaildCount(Long uid, String timelike, String end_time);

    Integer settCanelCount(Long uid, String timelike, String end_time);

    BigDecimal settPayMoney(Long uid, Integer status, String timelike, String end_time);

    BigDecimal settPaySubMoney(Long uid, Integer status, String timelike, String end_time);

    BigDecimal findUserSettPayCount(Long uid);

}
